package com.iotteam.androidbase.moudules.login.model;

import com.iotteam.androidbase.base.BaseModel;

import java.io.Serializable;

/**
 * Created by lidechen on 5/3/17.
 */

public class LoginInfo extends BaseModel {

    /**
     * uid : 7
     * mobile : 18686130461
     * access_token : 718c35ec08dd467097df83ef6b73a87c
     */

    private String uid;
    private String mobile;
    private String access_token;

    public LoginInfo(long id, String uid, String mobile, String access_token) {
        this.uid = uid;
        this.mobile = mobile;
        this.access_token = access_token;
    }

    public LoginInfo() {
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getMobile() {
        return mobile;
        //return "15910992968";
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getAccess_token() {
        return access_token;
    }

    public void setAccess_token(String access_token) {
        this.access_token = access_token;
    }

    @Override
    public String toString() {
        return "LoginInfo{" +
                "uid='" + uid + '\'' +
                ", mobile='" + mobile + '\'' +
                ", access_token='" + access_token + '\'' +
                ", code='" + getCode() + '\'' +
                '}';
    }

}
